#ifndef MAP_H_
#define MAP_H_

#include <grrlib.h>
#include "global.h"

#include "coin.h"
#include "player.h"


const int NUM = 3;
const int MAP_LENGTH = 1024;
const int COINS = 30;

class Map {
public:
	Map();
	~Map();
	
	size_t GetLength();
	size_t GetCoins();
	
	void Draw(Player &pl);
	
private:
	GRRLIB_texImg *texMarioWorld;
	GRRLIB_texImg *texSky;
	
	Coin *myCoin[30];
	int cnt;
	
	int cptx;
	
};


#endif //MAP_H_